package com.watson.value;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;

/**
 * @Description: TODO
 * @Author watson
 * @Date 2022/7/12 15:58
 * @Version 1.0
 */
@SpringBootApplication
public class ValueApplication {
    public static void main(String[] args) {
        SpringApplication.run(ValueApplication.class, args);
    }

    /**
     * https://www.jianshu.com/p/99dfef4fd492
     *
     * @return
     */
//    @Bean
//    public PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() {
//        PropertySourcesPlaceholderConfigurer configurer = new PropertySourcesPlaceholderConfigurer();
//        configurer.setIgnoreUnresolvablePlaceholders(true);
//        return configurer;
//    }

}
